rm update
[EroBeats.git] / Djinn and Tonic - Erobeats / MusicRoom.h
blobb661b3838a6eea30231fa1175fd6c7ce8e1f3abc
1 #pragma once
3 #include "ScreenTemplate.h"
5 #include "FileIO.h"
6 #include "ResourceMaster.h"
7 #include "Fonts.h"
8 #include "Animation.h"
9 #include "SFX.h"
10 #include "BGM.h"
13 #include <chrono>
14 #include <SDL\SDL.h>
15 #include <SDL Mixer\sdl_mixer.h>
17 //modify into the play room
19 using namespace std;
20 class MusicRoom : ScreenTemplate
22 public:
23 MusicRoom();
24 MusicRoom(int* screenPointer, FileIO* filePntr, ResourceMaster* resourcePntr);
25 ~MusicRoom();
27 void update();
28 void play();
29 void render();
30 void close();
32 void destroyTextLeft();
33 void generateTextLeft();
34 void destroyTextRight();
35 void generateTextRight(int level);
37 int numUserData;
38 int numUserScores;
39 int levelNumber;
41 bool hoverLevel1;
42 bool level1Selectable;
43 bool hoverLevel2;
44 bool level2Selectable;
45 bool hoverLevel3;
46 bool level3Selectable;
47 bool hoverBGM;
48 bool BGMSelectable;
49 bool hoverA1;
50 bool A1Selectable;
51 bool hoverA2;
52 bool A2Selectable;
53 bool hoverEC;
54 bool ECSelectable;
55 bool hoverQuit;
56 bool playedOnce;
58 bool playA1;
59 bool playA2;
60 bool displayEC;
62 bool* hoverAddress;
63 bool* hoverAddressOld;
65 std::vector<SDL_Texture*> outline;
67 Animation* outlineAnimation;
68 Animation* L2A1;
69 Animation* L2A2;
71 SDL_Texture* textLevel1;
72 SDL_Rect rectLevel1;
74 SDL_Texture* textLevel2;
75 SDL_Rect rectLevel2;
77 SDL_Texture* textLevel3;
78 SDL_Rect rectLevel3;
80 SDL_Texture* textBGM;
81 SDL_Rect rectBGM;
83 SDL_Texture* textA1;
84 SDL_Rect rectA1;
86 SDL_Texture* textA2;
87 SDL_Rect rectA2;
89 SDL_Texture* textEC;
90 SDL_Rect rectEC;
92 SDL_Texture* textQuit;
93 SDL_Rect rectQuit;
95 SDL_Rect rectMainBox;
96 SDL_Rect rectSelectionBox;